<?php
require_once "vendor/autoload.php";

$html = file_get_contents("D:\\fbg_gd\\php_demo\\mpdf\\demo.html");
$stylesheet = file_get_contents("D:\\fbg_gd\\php_demo\\mpdf\\demo.css");
$mpdf = new \Mpdf\Mpdf(array(
    "mode"=>"zh-cn"
));
$mpdf->WriteHTML($stylesheet,1);
$mpdf->WriteHTML($html);
$mpdf->Output("D:\\fbg_gd\\php_demo\\mpdf\\demo.pdf");
